from meiduo_admin.mypackage import *

class PermViewSet(ModelViewSet):
    queryset = Permission.objects.all()
    serializer_class = PermModelSerializer
    pagination_class = MyPage

class ContentTypeView(ListAPIView):
    queryset = ContentType.objects.all()
    serializer_class = ContentTypeSimpleSerializer